import api from '../api.js';
export default {
	billList(params) {
		return api.fetchGet('/monthTicketBill/list.do', params);
	},
	billRefund(params) {
		return api.fetchPost('/monthTicketBill/refund.do', params);
	},
	billExtendTime(params) {
		return api.fetchPost('/monthTicketBill/extendTime.do', params);
	},
	billValidInnerConfigList(params) {
		return api.fetchGet('/monthTicketBill/validConfigList.do', params);
	},
	billOpen(params) {
		return api.fetchPost('/monthTicketBill/open.do', params);
	},
	billRenew(params) {
		return api.fetchPost('/monthTicketBill/renew.do', params);
	},
	billCreateExcelTmp(params) {
		return api.fetchGet('/importFlie/createExcelTmp.do', params);
	},
	billImportBills(formData) {
		return api.fetchPostFile('/monthTicketBill/importBills.do', formData);
	},
	getInviteCarList(params) {
		return api.fetchGet('/monthTicketBill/getInviteCarList.do', params);
	},
	deleteInviteCar(params) {
		return api.fetchPost('/monthTicketBill/deleteInviteCar.do', params);
	},
	renewBills(formData) {
		return api.fetchPostFile('/monthTicketBill/renewBills.do', formData);
	},
	refundBills(formData) {
		return api.fetchPostFile('/monthTicketBill/batchRefund.do', formData);
	},
	billEdit(params) {
		return api.fetchPost('/monthTicketBill/editMonthTicketBill.do', params);
	}
};
